const mongoose = require("mongoose");
const courseSchema = new mongoose.Schema({
  name: String, // 课程名称
  author: String, // 课程作者
  isPublished: Boolean, // 课程状态
  objArray: [Object],
});

const Course = mongoose.model("Course", courseSchema); // courses

module.exports = {
  Course,
};